import { http } from '@/utils/http/axios';

export function listMachineAdjustment(data = {}) {
  return http.request({
    url: '/admin/gather/machineAdjustment/list',
    method: 'get',
    data,
  });
}

export function pageMachineAdjustment(data = {}) {
  return http.request({
    url: '/admin/gather/machineAdjustment/page',
    method: 'post',
    data,
  });
}

export function addMachineAdjustment(data = {}) {
  return http.request({
    url: '/admin/gather/machineAdjustment/add',
    method: 'post',
    data,
  });
}

export function updateMachineAdjustment(data = {}) {
  return http.request({
    url: '/admin/gather/machineAdjustment/update',
    method: 'post',
    data,
  });
}

export function delMachineAdjustment(data = {}) {
  return http.request({
    url: '/admin/gather/machineAdjustment/delete',
    method: 'post',
    data,
  });
}

export function infoMachineAdjustment(data = {}) {
  return http.request({
    url: '/admin/gather/machineAdjustment/info',
    method: 'post',
    data,
  });
}
